package com.xw.unification.test.config;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

//@Configuration
public class WebConfiguration implements WebMvcConfigurer {

    public static final Logger LOGGER = LoggerFactory.getLogger(WebConfiguration.class);

    public WebConfiguration() {
        LOGGER.info("WebConfiguration is initialized!");
    }

    @Override
    public void addInterceptors(InterceptorRegistry registry) {
//        registry.addInterceptor(new RepeatableRequestRewriteInterceptor()).addPathPatterns("/**");
    }
}
